package com.one.consumer.user.model.item;

import com.one.common.utils.StringUtils;
import com.one.common.view.multitytype.adapter.BaseItem;

/**
 * author ：zhulunjun
 * email  ：zhulunjun@qq.com
 * date   ：2018/11/4 6:59 PM
 * description ：发票记录
 **/
public class InvoiceItem extends BaseItem {
    private int order_invoice_id;//

    private String member_id;//

    private String order_id;//

    private String invoice_id;//

    private String invoice_type;//类型 1:个人 2:公司

    private String invoice_type_show; //

    private String invoice_name;//抬头内容

    private String invoice_no;//税号

    private String invoice_company_name;//公司名称

    private String invoice_company_address;//企业地址

    private String invoice_company_phone;//企业电话

    private String invoice_bank_name;//开户银行

    private String invoice_bank_no;//银行账号

    private String invoice_email;//

    private String is_default;//是否默认

    private String is_delete;//

    private String create_time;//

    private String update_time;//

    private String order_price;//订单价格

    private String order_no;//订单号

    private String invoice_class;//订单分类 0 电子发票 1 纸制发票

    private String invoice_class_show;//

    private String courier_company; //快递公司

    private String courier_number; //快递单号

    private String invoice_state; //订单状态 0 待处理 1已处理

    private String invoice_state_show; //



    private String member_nick_name; //用户昵称

    private String member_account; //用户账号



    private String invoice_member;//收件人

    private String invoice_member_phone;//收件人联系电话

    private String invoice_member_address;//收件人地址

    public int getOrder_invoice_id() {
        return order_invoice_id;
    }

    public void setOrder_invoice_id(int order_invoice_id) {
        this.order_invoice_id = order_invoice_id;
    }

    public String getMember_id() {
        return member_id;
    }

    public void setMember_id(String member_id) {
        this.member_id = member_id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getInvoice_id() {
        return invoice_id;
    }

    public void setInvoice_id(String invoice_id) {
        this.invoice_id = invoice_id;
    }

    public String getInvoice_type() {
        return invoice_type;
    }

    public void setInvoice_type(String invoice_type) {
        this.invoice_type = invoice_type;
    }

    public String getInvoice_type_show() {
        return invoice_type_show;
    }

    public void setInvoice_type_show(String invoice_type_show) {
        this.invoice_type_show = invoice_type_show;
    }

    public String getInvoice_name() {
        return invoice_name;
    }

    public void setInvoice_name(String invoice_name) {
        this.invoice_name = invoice_name;
    }

    public String getInvoice_no() {
        return invoice_no;
    }

    public void setInvoice_no(String invoice_no) {
        this.invoice_no = invoice_no;
    }

    public String getInvoice_company_name() {
        return invoice_company_name;
    }

    public void setInvoice_company_name(String invoice_company_name) {
        this.invoice_company_name = invoice_company_name;
    }

    public String getInvoice_company_address() {
        return invoice_company_address;
    }

    public void setInvoice_company_address(String invoice_company_address) {
        this.invoice_company_address = invoice_company_address;
    }

    public String getInvoice_company_phone() {
        return invoice_company_phone;
    }

    public void setInvoice_company_phone(String invoice_company_phone) {
        this.invoice_company_phone = invoice_company_phone;
    }

    public String getInvoice_bank_name() {
        return invoice_bank_name;
    }

    public void setInvoice_bank_name(String invoice_bank_name) {
        this.invoice_bank_name = invoice_bank_name;
    }

    public String getInvoice_bank_no() {
        return invoice_bank_no;
    }

    public void setInvoice_bank_no(String invoice_bank_no) {
        this.invoice_bank_no = invoice_bank_no;
    }

    public String getInvoice_email() {
        return invoice_email;
    }

    public void setInvoice_email(String invoice_email) {
        this.invoice_email = invoice_email;
    }

    public String getIs_default() {
        return is_default;
    }

    public void setIs_default(String is_default) {
        this.is_default = is_default;
    }

    public String getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(String is_delete) {
        this.is_delete = is_delete;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getOrder_price() {
        return order_price;
    }

    public void setOrder_price(String order_price) {
        this.order_price = order_price;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public String getInvoice_class() {
        return StringUtils.isBlank(invoice_class) || invoice_class.equals("1")?"纸质发票":"电子发票";
    }

    public void setInvoice_class(String invoice_class) {
        this.invoice_class = invoice_class;
    }

    public String getInvoice_class_show() {
        return invoice_class_show;
    }

    public void setInvoice_class_show(String invoice_class_show) {
        this.invoice_class_show = invoice_class_show;
    }

    public String getCourier_company() {
        return courier_company;
    }

    public void setCourier_company(String courier_company) {
        this.courier_company = courier_company;
    }

    public String getCourier_number() {
        return courier_number;
    }

    public void setCourier_number(String courier_number) {
        this.courier_number = courier_number;
    }

    public String getInvoice_state() {
        return StringUtils.isBlank(invoice_state) || invoice_state.equals("0")?"待处理":"已处理";
    }

    public void setInvoice_state(String invoice_state) {
        this.invoice_state = invoice_state;
    }

    public String getInvoice_state_show() {
        return invoice_state_show;
    }

    public void setInvoice_state_show(String invoice_state_show) {
        this.invoice_state_show = invoice_state_show;
    }

    public String getMember_nick_name() {
        return member_nick_name;
    }

    public void setMember_nick_name(String member_nick_name) {
        this.member_nick_name = member_nick_name;
    }

    public String getMember_account() {
        return member_account;
    }

    public void setMember_account(String member_account) {
        this.member_account = member_account;
    }

    public String getInvoice_member() {
        return invoice_member;
    }

    public void setInvoice_member(String invoice_member) {
        this.invoice_member = invoice_member;
    }

    public String getInvoice_member_phone() {
        return invoice_member_phone;
    }

    public void setInvoice_member_phone(String invoice_member_phone) {
        this.invoice_member_phone = invoice_member_phone;
    }

    public String getInvoice_member_address() {
        return invoice_member_address;
    }

    public void setInvoice_member_address(String invoice_member_address) {
        this.invoice_member_address = invoice_member_address;
    }
}
